/** *******************************************************************
 * FlexDatabaseManager
 * @author  Jonnie Spratley
 * @contact jonniespratley@gmail.com
 * @internal
 ******************************************************************* */
package com.jonniespratley.flexdatabasemanager.events.tables
{
	import com.adobe.cairngorm.control.CairngormEvent;
	
	import flash.events.Event;
		
	public final class InsertRecordEvent extends CairngormEvent
	{
		public static const INSERT_RECORD_EVENT:String = "INSERT_RECORD_EVENT";

	/* 	public var aRecord:String;
		public var aDatabase:String; */
		public var aQuery:String;
		
		public function InsertRecordEvent( /* aDatabase:String, aTable:String, */ aQuery:String )
		{
			super( INSERT_RECORD_EVENT );
		/* 	this.aDatabase = aDatabase;
			this.aTable = aTable; */
			this.aQuery = aQuery;
		}
		
		override public function clone():Event
		{
			return new InsertRecordEvent( /* aDatabase, aTable,  */aQuery );
		}
	}
}